package com.liam.chinesevietnamesecorpus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.liam.chinesevietnamesecorpus.common.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 语料库实体类
 * 
 * @author Liam
 */
@TableName("corpus_library")
@Getter
@Setter
public class CorpusLibrary extends BaseEntity {

    /**
     * 语料库ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 语料库名称
     */
    private String name;

    /**
     * 语料库描述
     */
    private String description;

    /**
     * 领域分类
     */
    private String domain;

    /**
     * 源语言
     */
    private String sourceLang;

    /**
     * 目标语言
     */
    private String targetLang;

    /**
     * 状态
     */
    private String status;
}
